using namespace std;
class Punct
  {
    private:
      char nume;
      int x;
      int y;
    public:
      Punct();
      Punct(char m,int a,int b);
      int getX();
      int getY();
      char getNume();
      void setX(int l);
      void setY(int n);
      void setNume(char q);
			bool operator ==(Punct b);
    friend ostream& operator<<(ostream& cout,const Punct X);
  };
class Poligon
	{
		private:
			Punct Pct[100];
			int nrpct;
    public:
      Poligon(int n);
			void setNrPct(int m);
			int getNrPct();
			float distanta(Punct A,Punct B);
      bool isPoligon();
      bool isTriunghi();
      bool isDreptunghi();
      bool isPatrat();
      bool isConcav();
      bool isParalelogram();
 			bool isRomb();	
			bool isInclus(Punct A);
			Punct getMiddle(Punct A,Punct B);   
	};

